#pragma once
#include <stdlib.h>
#include <math.h>

typedef class Vals
{
public:
	Vals();
	Vals(unsigned int attack_,unsigned int magic_);

public:
	unsigned int v1;
	unsigned int v2;

#define m_var1	v1
#define m_var2	v2

#define m_attack			m_var1
#define m_attackDefence		m_var1
#define m_hp				m_var1

#define m_magic				m_var2
#define m_magicDefence		m_var2
#define m_mp				m_var2

public:
	Vals&	mul(float t1,float t2);
	Vals&	operator =(const Vals& v);
	Vals&	operator +=(const Vals& v);
	Vals&	operator *=(float t);
	Vals	operator +(const Vals& v0);

	friend Vals		operator *(const Vals& v0,float t);
	friend Vals		operator *(float t,const Vals& v0);
}FightVals,DefenceVals,HealthVals;

